package com.k2data.k2app.mapper;

import com.k2data.k2app.mybatis.mapper.K2Mapper;
import com.k2data.k2app.util.schedule.ScheduleJob;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TaskQuartzMapper extends K2Mapper<ScheduleJob> {

    ScheduleJob getById (Long id);

    ScheduleJob getByTaskId (Long id);

    List<ScheduleJob> queryList (ScheduleJob scheduleJob);

    Integer insertRecord (ScheduleJob scheduleJob);

    int updateByPrimaryKeySelective (ScheduleJob scheduleJob);
}